<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>VUE基础</title>
    </head>

    <body>
        <div id="list-rending">
          <ol>
            <li v-for="todo in todos">
              {{ todo.text }}
            </li>
          </ol>
        </div>

        <!-- 开发环境js -->
        <script src="https://unpkg.com/vue@next"></script>
        <script>
            const listRending = {
              data() {
                return {
                  todos: [
                    {text : "1"},
                    {text : "sad"}
                  ]
                }
              }
            }

            Vue.createApp(listRending).mount('#list-rending')
        </script>
    </body>
</html>